/*
 	Software Author: Mike Moore
 	Vectrics Flashrecruit
 	Open source job board and applicant tracking system.  Built with enterprise Java.
 	GPL License applies to this source code.
 */

package org.vectrics.struts;

import java.util.Locale;

import org.vectrics.provider.CoreServiceLocator;


public class TestPhraseManager implements PhraseProvider {
	public static String NOT_GIVEN_CODE = "not.given";


	public String getMessage(String code, Locale locale) {
		String message = "Test Phrase: " + code;
		return(message);
	}
	
	public static String getNotGiven(Locale locale) {
		return(CoreServiceLocator.getPhraseProvider().getMessage(TestPhraseManager.NOT_GIVEN_CODE, locale));
	}

	public String getMessage(String code, Locale locale, Object[] args) {
		// TODO Auto-generated method stub
		return null;
	}
	
}
